package com.flowerSystem.mapper;

import com.flowerSystem.entity.Collection;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.flowerSystem.entity.Productinformation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 鲜花遇上牛战士
 * @since 2023-08-28
 */
@Mapper
public interface CollectionMapper extends BaseMapper<Collection> {

   public List<Productinformation> getCollectionByUser(int user_id);

    public boolean getUserCollection(int user_id,int productinformation_id);
}
